<template>
	<Index ref="index" :title="title" type="2" @itemClick="itemClick" pageStatus='materials-handling' />
</template>

<script>
	import Index from "./components/index";
	export default {
		components: {
			Index
		},
		data() {
			return {
				title:'',
			};
		},
		onShow: function() {
			if (this.$refs.index) this.$refs.index.onRefresh();
		},
		onLoad(option) {
			this.title=option.type
		},
		methods: {
			// itemClick(data) {
			// 	uni.navigateTo({
			// 		url: "/pages/staging/materials-handling/details?workOrder=" +
			// 			data.workCode,
			// 		animationType: "pop-in",
			// 	});
			// },
		},
	};
</script>